#pragma once
#include<google/protobuf/service.h>
#include<google/protobuf/descriptor.h>
// #include <google/protobuf/stubs/callback.h>
#include <google/protobuf/message.h>
class MrpcChannel : public google::protobuf::RpcChannel{//实现callMethod
public:
    void CallMethod(const google::protobuf::MethodDescriptor* method,
                      google::protobuf::RpcController* controller, const google::protobuf::Message* request,
                      google::protobuf::Message* response, google::protobuf::Closure* done);
};
